<div class="content">
	<div class="title">
	<h2>答疑系统</h2>
	</div>
	<div class="answersystemblock">
		<div class="indexblock">
		<ul>
		<?php
			foreach($this->allapp as $app)
			{
			    if($app['status']!=1)
			    {
			        echo '<li><a href="'.$this->baseUrl().'/answersystem/teacherdetail?id='.$app['id'].'">'.$app['teacher'].'老师';
			        if($app['status']==3)echo '【决定';
			        else echo '【准备';
			        echo '】在'.gmdate('Y年m月d日H:i',$app['date']).'答疑['.$app['class'].']有'.$app['countstudent'].'位同学登记'.'</a></li>';
			    }
			} 			
		?>
			
		</ul>
		</div>
	</div>
</div>	